import { ref } from 'vue'

export default function getLocationInfo() {
    let scrollLeft = ref(0) // X轴滚动条左滚动距离
    let scrollRight = ref(5)
    let scrollYDistance = ref(0) // tbody Y平移的距离
    let scrollXDistance = ref(0)
    let sIndex = ref(0)
    let eIndex = ref(0)
    
    return {
        sIndex,
        eIndex,
        scrollLeft,
        scrollRight,
        scrollYDistance,
        scrollXDistance,
    }
}